<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title>{$title|default='php天下第一'}</title>
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

    {include file='common/css'}
    <?php
        if(isset($css) && is_array($css)){
            array_walk($css,function($v){
                echo "<link rel='stylesheet' href='__STATIC__/css/{$v}'>";
            });
        }
    ?>
</head>
<body>
<!-- 顶部开始 -->
{include file='common/header'}
<!-- 顶部结束 -->

<!-- 左侧菜单开始 -->
{include file='common/side_nav'}
<!-- <div class="x-slide_left"></div> -->
<!-- 左侧菜单结束 -->



<!-- 右侧主体开始 -->
<div class="page-content">
    <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
        <ul class="layui-tab-title">
            <li class="home"><i class="layui-icon">&#xe68e;</i>我的桌面</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <iframe src='{:url("admin/welcome")}' frameborder="0" scrolling="yes" class="x-iframe"></iframe>
            </div>
        </div>
    </div>
</div>

<!-- 右侧主体结束 -->


<!-- 底部开始 -->
{include file='common/footer'}
<!-- 底部结束 -->


</body>
{include file='common/script'}
<?php
    if(isset($script) && is_array($script)){
        array_walk($script,function($v){
            echo "<script src='__STATIC__/js/$v.js'>";
});
}
?>
</html>
